<?php
declare(strict_types=1);

namespace App\Libs;



use Hyperf\Context\ApplicationContext;
use Psr\SimpleCache\CacheInterface;

class Cache
{
    public static function getInstance()
    {
        return ApplicationContext::getContainer()->get(CacheInterface::class);
    }

    public static function __callStatic($name, $arguments)
    {
    	return self::getInstance()->$name(...$arguments);
    }
}